function printCoord(pt: { x: number, y: number }) {
    // ...
}

function printName(obj: { first: string, last?: string }) {
    console.log(obj.last?.toUpperCase());
}

export {};